import request from "@/utils/request";

// 查询档案日志管理列表
export function listArchiveLog(query) {
  return request({
    url: "/manage/archiveLog/list",
    method: "get",
    params: query,
  });
}

// 查询档案日志管理详细
export function getArchiveLog(logId) {
  return request({
    url: "/manage/archiveLog/" + logId,
    method: "get",
  });
}

// 查询档案日志管理详细
export function getArchiveLogByStudentId(studentId) {
  return request({
    url: "/manage/archiveLog/getInfo/" + studentId,
    method: "get",
  });
}

// 新增档案日志管理
export function addArchiveLog(data) {
  return request({
    url: "/manage/archiveLog",
    method: "post",
    data: data,
  });
}

// 修改档案日志管理
export function updateArchiveLog(data) {
  return request({
    url: "/manage/archiveLog",
    method: "put",
    data: data,
  });
}

// 删除档案日志管理
export function delArchiveLog(logId) {
  return request({
    url: "/manage/archiveLog/" + logId,
    method: "delete",
  });
}
